3.225 \(\int \log (c (b x^n)^p) \, dx\)

Optimal. Leaf size=18 \[ x \log \left (c \left (b x^n\right )^p\right )-n p x \]

[Out]

-(n*p*x) + x*Log[c*(b*x^n)^p]

________________________________________________________________________________________

Rubi [A]  time = 0.0070388, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2295, 2445} \[ x \log \left (c \left (b x^n\right )^p\right )-n p x \]

Antiderivative was successfully verified.

[In]

Int[Log[c*(b*x^n)^p],x]

[Out]

-(n*p*x) + x*Log[c*(b*x^n)^p]

Rule 2295

Int[Log[(c_.)*(x_)^(n_.)], x_Symbol] :> Simp[x*Log[c*x^n], x] - Simp[n*x, x] /; FreeQ[{c, n}, x]

Rule 2445

Int[((a_.) + Log[(c_.)*((d_.)*((e_.) + (f_.)*(x_))^(m_.))^(n_)]*(b_.))^(p_.)*(u_.), x_Symbol] :> Subst[Int[u*(
a + b*Log[c*d^n*(e + f*x)^(m*n)])^p, x], c*d^n*(e + f*x)^(m*n), c*(d*(e + f*x)^m)^n] /; FreeQ[{a, b, c, d, e,
f, m, n, p}, x] &&  !IntegerQ[n] &&  !(EqQ[d, 1] && EqQ[m, 1]) && IntegralFreeQ[IntHide[u*(a + b*Log[c*d^n*(e
+ f*x)^(m*n)])^p, x]]

Rubi steps

\begin{align*} \int \log \left (c \left (b x^n\right )^p\right ) \, dx &=\operatorname{Subst}\left (\int \log \left (b^p c x^{n p}\right ) \, dx,b^p c x^{n p},c \left (b x^n\right )^p\right )\\ &=-n p x+x \log \left (c \left (b x^n\right )^p\right )\\ \end{align*}

Mathematica [A]  time = 0.0007363, size = 18, normalized size = 1. \[ x \log \left (c \left (b x^n\right )^p\right )-n p x \]

Antiderivative was successfully verified.

[In]

Integrate[Log[c*(b*x^n)^p],x]

[Out]

-(n*p*x) + x*Log[c*(b*x^n)^p]

________________________________________________________________________________________

Maple [A]  time = 0.004, size = 19, normalized size = 1.1 \begin{align*} -npx+x\ln \left ( c \left ( b{x}^{n} \right ) ^{p} \right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(ln(c*(b*x^n)^p),x)

[Out]

-n*p*x+x*ln(c*(b*x^n)^p)

________________________________________________________________________________________

Maxima [A]  time = 1.14816, size = 24, normalized size = 1.33 \begin{align*} -n p x + x \log \left (\left (b x^{n}\right )^{p} c\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(b*x^n)^p),x, algorithm="maxima")

[Out]

-n*p*x + x*log((b*x^n)^p*c)

________________________________________________________________________________________

Fricas [A]  time = 0.871845, size = 62, normalized size = 3.44 \begin{align*} n p x \log \left (x\right ) - n p x + p x \log \left (b\right ) + x \log \left (c\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(b*x^n)^p),x, algorithm="fricas")

[Out]

n*p*x*log(x) - n*p*x + p*x*log(b) + x*log(c)

________________________________________________________________________________________

Sympy [A]  time = 0.430165, size = 24, normalized size = 1.33 \begin{align*} n p x \log{\left (x \right )} - n p x + p x \log{\left (b \right )} + x \log{\left (c \right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(ln(c*(b*x**n)**p),x)

[Out]

n*p*x*log(x) - n*p*x + p*x*log(b) + x*log(c)

________________________________________________________________________________________

Giac [A]  time = 1.27637, size = 28, normalized size = 1.56 \begin{align*} n p x \log \left (x\right ) - n p x + p x \log \left (b\right ) + x \log \left (c\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(b*x^n)^p),x, algorithm="giac")

[Out]

n*p*x*log(x) - n*p*x + p*x*log(b) + x*log(c)